﻿<?xml version="1.0" encoding="utf-8" ?>
<yaml>
  <version>1.2</version>
  <namespace>
    <add key="http://www.brics.dk/ixwt/recipes" value="recipes"></add>
  </namespace>
  <mapping>
    <xpath key="root" value="yaml"></xpath>
    <xpath key="//express/@name" value=""></xpath>
    <xpath key="given" value="customer name"></xpath>
    <xpath key="//recipes:recipe[@id='r104']" value="recipeR104"></xpath>
    <!-- only compare with end value can be replace the real value-->
    <xpath key="//recipes:date[.='Fri, 28 May 04']" value="Friday, May 28th, 2004"></xpath>
  </mapping>
  <ignore>
    <xpath>/invoice/number</xpath>
    <xpath>address</xpath>
    <!--ignore node with pre condition-->
    <xpath>//recipes:recipe[@id='r103']</xpath>
    <xpath>//recipes:description[.='Some recipes used in the XML tutorial.']</xpath>
    <!-- ignore node position, but can not support last() -->
    <xpath>//recipes:recipe[2]</xpath>
    <!--xpath>//recipes:recipe[last()]</xpath-->
    <!-- ignore the spec attribute-->
    <xpath>//recipes:nutrition/@calories</xpath>
    <xpath>//recipes:additions</xpath>
    <!-- ignore all preparation children nodes()  -->
    <xpath>//recipes:preparation/*</xpath>
  </ignore>
  <comment>False</comment>
</yaml>